How can I convert a dictionary to a pandas DataFrame for specific formatting

welcome to shbcf.ru